function Canvas(id, params) {
  // eslint-disable-next-line no-undef
  return new fabric.Canvas(id, params)
}

function Rect(params) {
  // eslint-disable-next-line no-undef
  return new fabric.Rect(params)
}

function Line(arr, params) {
  // eslint-disable-next-line no-undef
  return new fabric.Line(arr, params)
}

export { Canvas, Line, Rect }
